
<html>
<head>
<script type="text/javascript"
  src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js">
</script>

<script type="text/javascript" src="http://player.longtailvideo.com/jwplayer.js"></script>

</head>
<body>


<div id='container'>The player will be placed here</div>
<script type="text/javascript">
//http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/16022/controlling-the-player-using-javascript

  jwplayer("container").setup({
  "controlbar.position": "bottom",
    //file:'out/207/1.mov.mp4',
    //file:'1.mov.mp4',
    file:'{{ v.dst }}',
    streamer:'rtmp://10.10.217.70/rtmp',
    flashplayer: "http://www.longtailvideo.com/files/player.swf",
    height: 270,
    width: 480
  });


</script>
<div>
    {{ v }}
    {{ v.src }}
{{ v.dst }}
{{     v.status_transcode }}
    {{     v.status_catalog }}
</div>
<div style="overflow:auto;width:100%;height:300">
    <ol>
        {% for shot in s.objects %}
            <li><a href="#"  onclick="javascript:jwplayer().play().seek({{ shot.nsec }});"><div>{{ shot.as_timecode }}</div> <img src="http://10.10.17.163/t/{{ shot.path }}"></img></a></li>
        {% endfor %}
    </ol>
</div>

</body>
</html>